package com.wulis.provider.authority.model.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @author WuliBao
 * @date 2020-05-22
 */
@Data
@Accessors(chain = true)
@ApiModel(description = "新增按钮VO")
public class QueryButtonVo {
    
    @ApiModelProperty("按钮ID")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;
    
    @ApiModelProperty(value = "菜单ID")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long menuId;
    
    @ApiModelProperty(value = "按钮名称")
    private String buttonName;
    
    @ApiModelProperty(value = "权限标识")
    private String permissionMark;
    
    @ApiModelProperty(value = "排序")
    private Integer sort;
    
    @ApiModelProperty(value = "启用状态：0关闭 1启用")
    private Integer enable;
    
    @ApiModelProperty("菜单类型：0菜单 1按钮")
    private Integer menuType;
}